home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: MegaDisc
/
MegaDisc 33 (1993-04)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip
/
MegaDisc 33 (1993-04)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf
/
FeedBack
/
Readers_Questions
/
Readers_Questions
Wrap
Text File
|
1993-04-18
|
29KB
|
745 lines
READERS' QUESTIONS
Ed: As usual thanks to Nic Wilson, Andrew Wong, Steve Bolton and various
other kind and knowledgeable souls for helping me out when my limited
knowledge got stretched beyond its elastic limit. [If you see the initials
SB on an answer, it is by Steve Bolton who has been helping me out
part-time at Megadisc.]
By the way, please feel free to send in any answers to the questions here
or anything that relates to them, and please don't think that our answers
are the final word - if you think they're lacking in accuracy or clarity,
or are just plain wrong, please let us know.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
Disk Quality
Dear Ed:
I've been checking through Megadisc for a comparison test or comment on
the quality of blank discs currently available on the market. Is it still
a case of "the more you pay the better the quality", or are these very
cheap discs that are available for appox $1.00 per disc OK to use? Can the
cheap discs do damage to the drive?
Also the high density discs which are advertised...are these simply a
normal disc with greater storage capacity or do you require a computer with
a high density drive (e.g. Commodore 3000 which is advertised as having a
high density drive). Which then raises the question... what is a high
density drive?
And the last question. When I am formatting a disc (no trashcan) on the
600, then view the disc through "directory utility" there is no
information, but when I format on WB 1.3 using "Climate" there is. Why?
My thanks if you could answer these queries for me.
Regards,
June Chargois
Chifley NSW
Ed: The whole question of disk quality is a black art, June - there are
strange terms like "clip rate" which are hard to define, and it often
becomes a matter of opinion. Any disk manufacturer has a series of tests
to which disks are randomly subjected, and on the results of those tests,
whole batches are designated quad-density, double-density, single density,
etc. As far as I know, all these disks went through the same manufacturing
process, and you'll find yourself able to use a single-density as a
double-density with no tragic results. However, as a general rule, price
is perhaps the only indicator of quality, ie you get what you pay for. I'd
suggest you avoid the real cheapies, which have often been rejected
entirely by a manufacturer and bought up very cheaply by an entrepreneur.
High density disks are those capable of storing twice as much as a
double-density disk, ie 1.44 MB (on an IBM) or 1.76 MB (on an Amiga). Yes,
you do need a high density drive to use these disks at these capacities,
but you could waste your money and use them as double-density if you wished
(by formatting them normally).
It's unlikely that a cheap disk can damage a drive.
I don't understand what you see on the disk when you're using "Climate" -
perhaps just a trashcan drawer, which is what you get when you format a
disk normally; if you use the optional keyword "noicons" you avoid having a
trashcan drawer.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
PC-Task IBM emulator and 5.25" drives
I've recently bought PC-Task off Chris Hames -: it's an IBM XT
emulator. I NEED a 5 1/4" disk drive to hang off the Amiga drive port.
1) Do you have such a beast? or
2) I can get any number of PC drives, do you have JUST an
interface?
3) An Amiga High density 3 1/2" drive could be useful - any ideas?
Has anyone reviewed PC-Task? I *like* this program!
Neil O'Rourke
Tamworth
Ed: About 5.25" drives - there's no easy way. I suggest that you use one
of the Megadisc hacks - "Add_5.25_Drive" on MD12; "5.25_Drive_Kit" on MD16;
"5.25_Floppy_Kit" on MD24 and "5.25 Mod" on MD26. This should cover it!
We look forward to your review on PC-Task, Neil - there was a review on
MD29, but the program has been upgraded since. Degrader1.3 this issue in
the Programs drawer is by the same author, by the way.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
MIDI Channels on Tiger Cub
How do you change Midi channel numbers above 12 on Tiger Cub? A friend
has sent me some files taken off his CDTV but I can't play them as Tiger
Cub resolutely refuses to accept Midi channels higher than 12 when it is
asked to rechannelise!
Don also wants to know if any can do SMUS to DMCS file conversion, or
knows of a program which does. See his letter in Readers_Letters this
issue.
With renewed best wishes and kindest regards,
Yours sincerely,
Don Stones.
6A Gifford St
St Heliers
Auckland 5 NZ
Ed: Unfortunately, I haven't been able to find any trace of the conversion
program you want, Don, but see the MDExtras disk this issue for a converter
of music files (SMUS2MOD), and also check out the review by Neil O'Rourke
of both this and some licenceware programs.
Do we have an expert on Tiger Cub out there??
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
A possible ccounting System For The Amiga
Dear Ed:
Re the development of a fairly comprehensive accounting system, I hesitate
to commit myself to anything, mainly because my experience in computer
accounting has been little short of horrifying as far as I'm concerned; but
this experience was with Unilever, a very large and complicated business.
There was no end of detail because of the complexity of their business and
their requirement for very detailed analysis. If I thought anything like
this was involved, I would have no hesitation in abandoning the whole idea.
The second point I wish to make is that I would need some sort of
specification, not necessarily formal, of the sort of system that would
suit a lot of small businesses. I have in mind mainly samples of
documents, perhaps with a few notes attached. I've had little to do with
smaller businesses and would only be interested if there were a fair few
customers. Perhaps some of your contacts would be prepared to contribute
to the specification. I feel that any system should be fairly general,
e.g., there might be +/- percentages to cover, broadly, promotional
discounts, GST, cash discount, sales tax etc. I suppose these could be
confined to invoice items and invoice totals - maybe we don't have to worry
about this sort of thing because there are ways around it - I just don't
know. With regard to stock, how many values would there need to be? It's
these sort of questions that need to be answered.
George Knight
1 Audie Pde
Berkeley Vale, 2259 NSW.
Ed: I suggested to George that a good, low-cost accounting system would do
well on the Amiga, and he's vaguely interested in doing one, IF there is
feedback. Please get in touch with him if you'd like to see such a
program, and if you have any suggestions for inclusion in the program.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
Is 1MB Chip RAM Good?
Dear Ed:
I am keen to upgrade my A500 to one Mb chip RAM using the internal
expansion board, but I need some information to make an informed decision.
I have a Rev.5 motherboard (B52 Rock Lobster) and DOS 1.3. The internal
expansion board is a third-party four-chip type which uses chips having an
access time of 100ns. The on-board chip RAM has an access time of 150ns so
my expansion board should work as chip RAM.
I am interested to know if extra chip RAM is of any benefit over Fast/Slow
RAM under DOS 1.3, or is DOS 2 required?
If there is any benefit and a Rev.5 can be modified, can you please show
me how?
Also, do you have the pin designations for the 8372b Agnus chip (ie.
which pins provide the extra address decoding for chip RAM), as the 8372A
chip is no longer available.
Any assistance you can render would be greatly appreciated.
P Baker
Melbourne, VIC.
Steve Bolton writes:
Extra Chip RAM is a great benefit if you do work with graphics such as
using DPaint or a Desktop Publishing program, but you may find you can't
animate in DPaint without Fast RAM in the system. WB2 is NOT required for
1MB of Chip RAM (I had 1MB chip on my V1.2 A500).
The best way is to refer to two previous articles on Megadisc 12. One on
the fitting of the 1MB agnus and the other on the fitting of a ram
expansion on/off switch for your trapdoor ram (if it hasn't got one
already) which will then enable you to switch between 1MB chip/0MB fast and
0.5MB chip/0.5MB fast ram. I found I needed these two modifications to be
able to switch between the two properly. If you do this then you will have
fully compatability with your current software plus the benefits of 1MB
chip when you need it.
You will need some experience at soldering to perform the modification
yourself but it is easy and well worth the effort.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
Expanding A500/A1000
Dear Ed:
Here are some queries:
1) RAM expansion for A1000/Sidecar.
Preferably a board 2Meg expandable to 8Meg with latest RAM chips (ie 1, 2
or 4 Meg chips). I can do some internal hardware (hacking) mods if
necessary ie. piggybacking (require info), or expansion bus mods. Would
appreciate info on a number of boards and methods as I prefer to attempt
the expansion myself for lack of moola.
2) RAM expansion for A500
Info as above. I think in MD11 is an article (HACK) on A500 RAM
piggybacking. Could you please! please! supply if there?
3) Are there any Enhanced chips for A1000 eg. Obese Agnes....
Jimmy Azar
Blacktown, NSW.
Ed: Phoenix sells an 8-meg Ram board for the A1000. Call them on (08)
2938752.
Also see above for info on doing the necessary hacks for the A500.
There are no enhanced chips for the A1000 unless you've bought a Phoenix
motherboard. The ordinary A1000 wouldn't take the ECS at all. Suggest you
buy an A600 or A1200 instead of spending your money in this way.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
CD-ROM Queries
Dear Ed:
Congratulations on a fantastic magazine, I have found it very informative
and helpful in the short time I have been a subscriber. Could I make a
request for a review (or maybe two)?
I own an Amiga 2000 with 170 Mb hard drive, 3 Mb of RAM, a 2320 display
enhancer and a 1960 multisync monitor. I am looking at purchasing a CD-ROM
(or CDTV unit) and here-in lies the problem.
There are many different companies advertising in ACAR (for example)
different CD-ROM drives and associated software. What I am wondering is:
Are these just plain old ordinary SCSI ROM drives by either Sony, NEC or
Phillips (etc) that are the same as those on IBM PC's and the software
gives them their CDTV compatibility?
Are the CD-ROMs special in some way?
SB: No more special than a high density floppy. The CDs are formatted,
just like floppies, for the system they are to be used on. This means that
CDs from different systems can't be used on the Amiga unless you have a
suitable emulator attached to run other CDs or a utility like CrossDOS or
MessyDOS to READ CDs for IBM systems.
Ed: The CD systems you see can be very good - I'd recommend the system
which we sell which comes via Ami-Tech.
Would I be better off buying a CDTV player (bearing in mind that I do have
a CD player)?
Ed: It depends on what you want - CDTV is an Amiga 500 with CD-player; you
already have an Amiga, just as you already have a CD-Player so something's
going to be doubled up. Using the non-CDTV option, you get maximum access
to other CDs from other computers, as well as being able to play audio and
CDTV disks, so...
How can I expand the CDTV player?
Ed: You can now get hard disks for the CDTV, I'm told, and you can attach
disk drives and the like, but I'm not sure what you mean by this question.
Check out the Hints&Tips in Articles this issue for more on upgrading the
CDTV with Ram, drives, Workbench 2, etc.
If I upgrade my A2000 to workbench 2.1 will I have any compatability
problems?
SB: Upgrade to 2.1 from what?! If you already have WB2 then there will be
no problems, but upgrading from 1.2/1.3 there will be some incompatability
with some software (mainly games) - but a kickswap board will fix that
problem.
Is Commodore bringing out a CD-ROM for the A2000, 3000 and 4000 series
soon?
Ed: I haven't heard of any plans for a player for these computers, but
certainly you can use PIKit (Parallel Interface kit - see Hardware this
issue) to connect a CDTV to any of the Amigas, and the CDTV is going cheap
these days ($699 I believe), if you can find one to buy.
The A570 was designed for the A500 but at a price of $895, who'd buy it?
There is talk of the A690 for the A600 computer, but I believe that will
remain vapourware.
I realise that there are a lot of questions in the above section but I do
feel that they will be of interest to many more Amiga users. Commodore
would be better off catering for the Amiga owners if they do not want the
CDTV concept to die, after all there are many competitors like CD-I, MPC,
and Macintoshes with quicktime.
I am a dedicated Amiga user (aren't we all?) and would like to see the
installed base of Amigas with CD-ROMs expand.
Thank you for your time and trouble in answering the above problems.
Ken Woodward
New Lambton NSW
P.S. It has taken months of reading but I have finally found out what the
only problem with MegaDisc is! Quite simply: You can't read it on the
LOO!!! (Commodore should make a portable.)
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
Excellence 3.0 --> Text File ?
Dear Ed:
First! Thank you for the contact with the Amiga Australia world once
more. I never knew how much I missed it. I see the occasional mag from
America and England.
I can't afford your disks but can send articles. In the last year I have
been producing and editing a 64 page tourism magazine each month based on
Amiga technology but produced finally on a Mac with Pagemaker 4.2. Files
are sent directly to Linotype for printing. Amiga cannot match this
unfortunately. [Ed: Sure can, if you save as a Postscript file.]
All material has been submitted in any DOS and form and then translated
into Amiga DOS. From there it is processed in Word Perfect and finally
transferred as a text file into Microsoft Word 5 on the Mac for inclusion
in the final Pagemaker file. I use WP because, although it is cumbersome
compared with Excellence, it is reliable and adapts to the text files well.
This has involved me in a lot of CrossDOS work which has been interesting
and once you have it under control, it does not matter what computer your
original file came from, you can still work on any computer you choose. We
are now totally free of the specialization of DOSs. I will send you and
article on this soon. By the way, do you know how to save on Excellence
3.0 as a text file? I can read them but I can't save them.
Also I recently upgraded from my AmaxII cartridge to the AmaxII Plus
board. This had its advantages and its disadvantages. I would be happy to
write this up also if someone else hasn't covered the subject.
Douglas Myers
Ubud, INDONESIA.
SB: To save the file as straight text, choose "SAVE AS" from the menu,
then on the right hand side of the panel that appears there you will see
the word "ASCII" and a small box next to it. ASCII is the proper term for
a text file since it is a standard character set. Just click on the small
box (a tick should appear in it), then name your file as usual and save it.
Remember to choose SAVE AS and not SAVE from the menu.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
Amiga VS PC
Dear Ed:
After almost 3 years of producing MegaDisc I am impressed that you are
able to maintain a consistently high standard of disk magazine and at the
same time continue to improve on a well established and successful formula
without advertising support. There can't be much money in it (and even if
there is, you have earned it). Keep up the good work!
Perhaps you can now afford to be a little adventurous and controversial in
some of your articles and reviews. For my part I would be really
interested in reading a review which gives an honest no-holds-barred
comparison of the Amiga Workbench Version 2xx and Windows 3.1 on MSDos
machines. What are the relative strengths and weaknesses of each platform?
Is the Amiga Workbench intuitively easier to use or not? How does the 4
colour Lo-Res Amiga interface compare with the 16 colour SVGA Windows 3.1
screen? The latter certainly looks and feels more impressive but is there
performance to match? In the end analysis is it really only a matter of
"horses for courses"? Why not have a dedicated Macintosh user do the
comparison of the Amiga and MSDos WIMPS interfaces (to keep the comparison
as objective as possible) and then have an Amiga user do a comparison of
the Mac and MSDos WIMPS interfaces etc. The conclusions drawn by each
reviewer should make interesting reading. What do you think?
Let's not kid ourselves, price is always a major consideration. I was in
a computer store the other day which had on sale an Amiga 1200HD alongside
a 386 SX 25Mhz MSDos Clone (of good repute) with a 120Mb Hard Drive (both
with IDE drive interface). Including the monitors (VGA in each case) there
was only a few dollars (ie less than $50) difference in the sale price of
the 2 machines. The MSDos machine was being sold with Windows 3.1. The
processing power of the two computers is (I am told) roughly comparable.
This suggested an ideal basis for doing a critical assessment of the Amiga
Workbench and Microsoft Windows 3.1.
Chris Searle
Merrylands, NSW.
Ed: Seven years, Chris, not three! Yes, I'd like to see such a
comparison, but it would be hard to find an impartial reviewer - everyone
seems to have a favourite platform. Is there anyone out there using
comparable IBM and Amiga machines who would like to tackle this comparison?
By the way, I think we are often adventurous in our reviews and articles -
see for example Nic Wilson's reviews of the A1200 (this issue) and A4000
(last issue). We don't have to please anyone, since we take no ads, and have
no profitable affiliations (with Commodore for example).
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
Double Kickstarts
Dear Ed:
Could you please answer this question for me. I presume the "Double
Kickstart Adaptor" will come with instructions, but in case it does not
specify exactly.... the review stated that to install the adaptor you must
"touch the disk drive casing to ground yourself".
My question is:- Do I keep my hand on the disk drive casing the entire
time when I am removing and installing the kickstarts etc or is it only
necessary to touch the disk drive casing once, and then it is safe to
install the kickstarts?
Anthony Flanagan
Smithtown, NSW.
Ed: Once should be ok Anthony, but it's always good to be cautious. Check
out the article on this subject of doing hacks and static electricity in
the Hardware drawer this issue.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
High Density User
Dear Ed:
As soon as I can get hold of one I will be fitting a high-density drive
(apparently Sigmacom will be direct importing Chinon drives with stocks
expected this month, I hope!). Will you be making disks available in this
format? I personally would prefer to order two disks on one high density
disk.
Mark Dawson
Terrey Hills, NSW.
SB: There are currently no plans to supply HD disks, since high density
disks are relatively new to the Amiga scene. Supplying two of our PD disks
on one HD disk would be very time consuming for the benefit of a minority of
people, though when HD drives become more abundant and become standard in
more Amigas then no doubt some great compilations will start to appear on HD
disks (with AGA modes animations and slideshows would need the space
available on HD disks).
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
The Fax On Fax/Modem Please
Dear Ed:
I'm considering buying a Fax/Modem and software. I have made an enquiry
with one of the local Amiga stores and all I could get after some prodding
for information was the price for one of the Maestro fax/modems. When I
asked about fax software, the person informed me that fax software started
from $60. When I prodded more I was told that GPFax was $60. I then asked
about the other software (since he did state the fax software started from
$60) he then told me that is all they had and he didn't know of any other
software. I was given the impression that he wasn't interested in selling
anything to me or providing me with information. This isn't my first
encounter with local Amiga stores, each time I have requested information
and even ordered products, I have not received either.
It is hard to believe that Amiga can survive in WA with this type of
attitude. I just hope that they get hold of MegaDisc and see the
enthusiasm that does exist in the Amiga community.
Well, I now turn to you for information (yes, I have read the articles in
MD31 & 32) on the full range of Maestro fax/modems. I would be grateful
for any details and prices you can supply. Will GPFax run with the latest
Maestro fax/modems?
All my printing is done through the PAR device to the Postscript laser
printer, how can I produce Postscript output for faxing?
I read with interest about future endeavours you are considering, I would
be interested in hearing more about your proposals for future business
ventures and investment requirements.
Peter Stulcbauer
Herne Hill, WA.
Ed: GPFax will indeed run with the latest fax/modems from Maestro (check
our Mail_order list this issue for info on these newly released and cheaper
modems).
If you are outputting Postscript files, all you need to do is to output as
if to a dot-matrix printer, say from ProPage or Pagestream - GPFax will
automatically output anything going to the Par: device and put it in the
Fax-Out drawer for sending. Unfortunately GPFax doesn't handle Postscript
directly.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
Okimate Printhead
Dear Ed:
I would like to start this letter off by saying thanks for a great wealth
of info that I have gained from Megadisc even though my subscriptions have
been a bit sporadic. I bought my A500 about four years ago and at the time
it came with the extra half meg of ram and a colour tv with modulator but
it didn't take long to get sick of the tv screen and head for the shops and
a 1084S which made life a lot easier. I also have one Acudat floppy and am
still running under 1.3 until I can afford to update, and last but not
least I have an Okimate 20 colour printer which I have had for about 3
years and which is the reason I am writing this letter.
First of all let me say it has been a good printer for my purposes even
though it is painfully slow and the cassette type ribbons are very
expensive, but thanks to an article in an early Megadisc (12 or 13) I found
I could use Fax paper and do away with the ribbon altogether unless I want
to do colour which is not very often, so everything has been going along
just fine until the print quality started to get so bad you couldn't even
read it anymore and I realised the printhead has had it. Well I pulled the
printhead out and thought to myself ok here is a little printed circuit
board glued to a piece of aluminium and couldn't possibly be worth more
than $50 but of course I was horribly wrong, the list price from commodore
is $197. After I got back up off the floor and hung up the phone I thought
who might possibly be able to help me find someone who may have some old
stock at the old prices or whether it is possible to repair my old
printhead, because I would sooner take my printer to the top of a very tall
building, toss it over the side and see it die a horrible death before I
fork over $200 for a part that can not possibly be worth that much. Any
help from you or anyone out there would be much appreciated.
Glenn Hawkes
Tel: (07) 2883481
Ed: If you can help Glenn please get in touch with him.
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
Problems with Dragon Wars
I'm having a rather large problem putting Dragon Wars on my hard drive.
The instructions simply say copy all files across to the hard drive, and
the thing will work.
However, when I do this, the game loads just fine, I take three steps in
any direction and it throws me out to the Workbench screen, and the game
gets wiped from memory.
I've tried assigning the game in the startup-sequence, but the same thing
happens. Anyone got any ideas? The only thing I can think of is that I
have made the modification to my board to change the plug-in expansion
memory to Chip RAM, and this is causing the problem. However, not being a
programmer, I'm not sure. (For what it's worth, the prog still runs from
floppy O.K.)
For info, I'm running a 500, with the 501 insert. The 1 meg chip ram
modification (shown in an earlier Megadisc) has been done. I have an A590
(20 Meg) with 2 Meg extra memory and 2 external floppy drives, as well as a
printer. The Kickstart is 1.3 (I can't afford Kickstart 2 yet!!!), but I
do have the 1 Meg Agnus Chip (I don't know if that is the Fat, Fatter,
Obese, or Overweight one, just that it is 1 Meg). The Denise and Gary
chips are standard.
Greg Leggett
Canberra
Ed: Very weird, Greg. Can anyone shed light on this?
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
Ed: The ReadFiles 1 & 2 mentioned below are not included here due to lack
of space - if anyone can help David, please get in touch.
----------------------------------------------------------------
The SAS/C feof() function malfunction!
SAS/C version 6.00 and feof(fp), by David M. Balean
----------------------------------------------------------------
There appears to be a very annoying bug in the SAS/C library function
feof(). Quite frankly, I have been unable to get it to work at all. It
always returns zero even if the end of file has definitely been reached. I
have not run into this problem with previous versions of SAS/C (Lattice C).
The SAS/C v 6.00 Library Reference page 185 states that feof checks for
a level 2 end-of-file:
ret = feof(fp);
the only proviso being that fp is not checked for validity as a file
pointer. It returns a non-zero value if the file pointer is at
end-of-file. If not, the function returns a 0.
The drawer 'ReadFile1' illustrates the problem. The drawer 'ReadFile2'
gives a solution. This is very inconvenient when re-compiling programs
that previously worked satisfactorily.
In fact, feof is implemented as a macro found in <stdio.h> as follows:
#define feof(p) (((p)->_flag & _IOEOF) != 0)
and the file pointer p refers to a struct __iobuf which is:
struct __iobuf {
struct __iobuf *_next;
unsigned char *_ptr; /* current buffer pointer */
int _rcnt; /* current byte count for reading */
int _wcnt; /* current byte count for writing */
unsigned char *_base; /* base address of I/O buffer */
int _size; /* size of buffer */
int _flag; /* control flags */
int _file; /* file descriptor */
unsigned char _cbuff; /* single char buffer */
};
and the flag bit is:
#define _IOEOF 16 /* end-of-file flag */
I can't see anything wrong with this. I can only assume that fread
doesn't set the _IOEOF flag bit at end-of-file.
Has anyone else run into this difficulty or is it just my dumb
programming? I have contacted SAS about this by phone but but am awaiting
a reply.
David Balean
Killarney Vale
N.S.W. 2261
|| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||